package cn.phecda.boot.data.core.entity;

import cn.phecda.boot.common.lang.model.BaseEntity;

import java.util.Date;

/**
 * <p> 审计实体 </p>
 *
 * @author : wanpinwei
 */
public interface AuditEntity extends BaseEntity {

    String getCreatedBy();

    Date getCreatedDate();

    String getLastModifiedBy();

    Date getLastModifiedDate();

    Integer getVersion();

    void setCreatedBy(final String createdBy);

    void setCreatedDate(final Date createdDate);

    void setLastModifiedBy(final String lastModifiedBy);

    void setLastModifiedDate(final Date lastModifiedDate);

    void SetVersion(final Integer version);

}
